package com.com.athengzhi.springCloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @Package: com.com.athengzhi.springCloud.lb
 * @ClassName: LoadBalanced
 * @Author: lhz
 * @CreateTime: 2023/4/22 13:44
 * @Description:
 */
public interface LoadBalanced {
    //收集服务器总共有多少台能够提供服务的机器，并放到list里面
    ServiceInstance instance (List<ServiceInstance> instances);
}
